package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.TaskPoint;
import cn.topevery.garden.entity.query.TaskPointQuery;
import cn.topevery.garden.entity.vo.TaskPointVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 检查任务-样点关联表
 */
public interface TaskPointDao extends BaseDao<TaskPoint> {


    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<TaskPointVO> listPage(TaskPointQuery query);

    TaskPoint getEntityByColumn(String key, String value);

    List<TaskPoint> listByTaskIdOrUserId(Integer taskId, Integer evaluationUserId);
}
